class ValidatorPost { 
    static async createPost(v) { 
        console.log('验证器',v.stk_name)
        if (!v.stk_name) { 
            throw new global.errs.ParameterException('stk_name必填')
        }
        console.log('验证器下面一行')
    }

    static async getPost(postId) {   
        if (isNaN(postId)) {
            throw new global.errs.ParameterException('postId应为number类型')
        }
    }
}

module.exports=ValidatorPost